{include file="public:header" /}
<!--菜单列表-->
<div class="subnav">
    <div class="content_menu ib_a blue line_x">
        <a class="add fb" href="{:url('add')}" data-title="添加菜单" data-id="add" data-width="500" data-height="450"><em>添加菜单</em></a>
        <input type="button" class="btn" data-tdtype="batch_action" data-acttype="ajax" data-all="1" value="创建微信菜单" data-uri="{:url('create')}" data-name="id" />
    </div>
</div>
<div class="pad_lr_10">
    <div class="J_tablelist table_list" data-acturi="">
    <table width="100%" cellspacing="0" id="J_cate_tree">
        <thead>
            <tr>

                <th width="60"><span data-tdtype="order_by" data-field="id">ID</span></th>
              	<th align="left">菜单名称</th>
                <th>类型</th>
                <th>链接地址</th>
				 <th width="60">菜单别名</th>
              	<th width="80"><span data-tdtype="order_by" data-field="ordid">排序</span></th>
                <th width="60"><span data-tdtype="order_by" data-field="status">状态</span></th>
                <th width="150">操作</th>
            </tr>
        </thead>
    	<tbody>
        {$list}
    	</tbody>
    </table>
    </div>
    <div class="btn_wrap_fixed">
    </div>
</div>
{include file="public:footer" /}
<script src="__PUBLIC__/js/plugins/jquery.treetable.js"></script>
<script>
$(function(){
    $("#J_cate_tree").treeTable({indent:20,treeColumn:1, clickableNodeNames:true, initialState:'expanded'});
});
</script>
</body>
</html>